package tech.daoxuan.security.core.social.qq.connect;

import org.springframework.social.connect.support.OAuth2ConnectionFactory;
import tech.daoxuan.security.core.social.qq.api.QQ;

/**
 * @ClassName QQConnectionFactory
 * @Description TODO
 * @Author 10983
 * @Date 2019/6/23 13:43
 * @Version 1.0
 */
public class QQConnectionFactory extends OAuth2ConnectionFactory<QQ> {
    /**
     * Create a {@link OAuth2ConnectionFactory}.
     *
     * @param providerId      the provider id e.g. "facebook"
     */
    public QQConnectionFactory(String providerId, String appID,String appsecret) {
        super(providerId, new QQServiceProvider(appID,appsecret), new QQAdapter());
    }
}
